class CreateTasks < ActiveRecord::Migration
  def self.up
    create_table :tasks do |t|
      t.column :name,    :string
      t.column :description,:text
      t.column :begindate,:datetime
      t.column :enddate,:datetime      
    end
  end

  def self.down
    drop_table :tasks
  end
end
